package extends02;


class PhoneTest {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.call();
        phone.sendMessage();
        phone.receive();
        System.out.println("=======================");
        SmartPhone note7 = new SmartPhone();
        note7.receive();
    }
}